/**
 * @Title: CMSConstants.java
 * @Package com.alex.cms.web.constants
 * @Description: (描述该文件做什么)
 * @author Alex Lu
 * @date 2019年9月11日 上午11:26:03
 * @version V1.0
 */
package com.alex.cms.web.constants;

/**
 * @ClassName: CMSConstants
 * @Description: cms系统的所有信息
 * @author Alex Lu
 * @date 2019年9月11日 上午11:26:03
 *
 */
public class CMSConstants {
	//返回页面的所有提示信息
	public static final String REQUEST_PARAM_IS_NULL = "请求参数为空！";
	public static final String USERNAME_IS_NULL = "用户名为空，请重新输入！";
	public static final String PASSWORD_IS_NULL = "密码为空，请重新输入！";
	public static final String REPASSWORD_IS_NULL = "确认密码为空，请重新输入!";
	public static final String PASSWORD_REPASSWORD_IS_NOT_SAME = "确认密码和密码不相同，请重新输入!";
	
	public static final String MD5_CHARACTER = "whd8$%#123";
	
	public static final String USER_IS_EXIST = "用户已存在！";
	
	public static final String USER_IS_NOT_EXIST = "用户不存在！";
	
	public static final String ARTICLE_IS_NOT_EXIST = "文章数据不存在";
	
	public static final String CHANNEL_IS_NOT_EXIST = "栏目数据不存在";
	/**
	 * 用于在会话对象中存储数据的键	名称
	 */
	public static final String LOGIN_USER = "_LOGIN_USER_";
	/**
	 * 文章分类
	 */
	public static final String CATEGORIES = "__CATEGORIES__";
	//自定义图片上传路径
	public static final String FILE_SAVE_PATH = "/upload/";
	//根据前端页面定义的频道和分类的结果集
	public static String CHANNESL_AND_CATEGORIES = "_CHANNELS_AND_CATEGORIES_";

	public static final Integer RESULT_STATUS_SUCCESS=1;
	
	public static final String RESULT_DELETE_MESSAGE_SUCCESS="删除成功！";
	
	public static final String RESULT_COMMENT_MESSAGE_SUCCESS="发表成功！";
	
	public static final Integer RESULT_STATUS_ERROR=0;
	
	public static final String RESULT_DELETE_MESSAGE_ERROR="删除失败！";
	
	public static final String RESULT_COMMENT_MESSAGE_ERROR="发表失败！";
	
	public static final String REQUEST_OPTIONS_MOTHOD_INVALID="禁止用options请求！";
	
	public static final String REQUEST_DELETE_MOTHOD_INVALID="禁止delete请求！";
	
	public static final String REQUEST_INVALID="无效请求！";
	
	public static final String DEFAULT_PASSWORD = "888888";
	
	public static final String USER_DO_NOT_LOGIN= "用户没有登录，无法操作，请重新登录！";
	
	public static final String FILE_UPLOAD_ERROR="文件上传失败！";
	
	public static final String TITLE_IS_NOT_NULL="标题不能为空！";
	
	public static final String ARTICLE_IS_EXIST="此专题已有这篇文章!";
	
	public static final Integer ARTICLE_HOT_VALUE =10;
	
	public static final String ARTICLE_SET_HOT_ERROR = "设置热门文章失败！或许点击率未达到限值！";
	
	public static final String ARTICLE_SET_HOT_SUCCESS = "设置热门文章成功！";
	
	public static final String USER_MOBILE_ERROR = "手机号错误！请重新输入！";
	
	public static final String USER_MAIL_ERROR = "邮箱格式错误！请重新输入！";
	
}
